package Transaction;

import java.io.Serializable;

/**
 *
 * @author Howard
 *
 * "Provides a class for header info"
 *
 * what? So it contains information about the transaction, just the customer's
 * name
 */
public class TransactionHeader implements Serializable {

    String customerName;

    // The constructor for TransactionHeader will take in the customer's name.
    //
    //
    public TransactionHeader(String customerName) {
        this.customerName = customerName;
    }

    TransactionHeader() {
        throw new UnsupportedOperationException("Not yet implemented");
    }

    // While there is no reason the customer will change his name in the middle
    // of the transaction, this is just in case.

    public void setCustomerName(String customerName){
        this.customerName = customerName;
    }

    public String getCustomerName(){
        return this.customerName;
    }
}
